package top.yokey.shopnc.model;

import top.yokey.base.base.BaseHttpClient;
import top.yokey.base.base.BaseHttpListener;

@SuppressWarnings("ALL")
public class SellerIndexModel {

    private final String ACT = "seller_index";
    private static volatile SellerIndexModel instance;

    public static SellerIndexModel get() {
        if (instance == null) {
            synchronized (SellerIndexModel.class) {
                if (instance == null) {
                    instance = new SellerIndexModel();
                }
            }
        }
        return instance;
    }

    public void index(BaseHttpListener baseHttpListener) {

        BaseHttpClient.get().ready(ACT, "index")
                .post(baseHttpListener);

    }

}
